package com.yzy.soft.common.persistence.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yzy.soft.common.persistence.model.MetadataColumn;
import com.yzy.soft.common.persistence.model.UrlJsonFieldsStructure;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 *<p>
 * 描述：NullMapper 接口
 * @author Yinzhiyuan
 * @date 2018-12-18 14:51:33
 */
public interface UrlJsonFieldsStructureMapper extends BaseMapper<UrlJsonFieldsStructure> {
    Integer status(@Param("id") Integer id);

    Integer batchNuUseIds(@Param("ids") List<Integer> ids);
    Integer batchUseIds(@Param("ids") List<Integer> ids);

    void deleteByUrlJsonId(@Param("urlJsonId") Integer urlJsonId);

    UrlJsonFieldsStructure selectParentId(@Param("ujfs")UrlJsonFieldsStructure urlJsonFieldsStructure);

    void updateParentId(@Param("ujfs")UrlJsonFieldsStructure urlJsonFieldsStructure);

//    Integer deleteByDatabaseId(@Param("databaseId") Integer databaseId);
}
